import request from '@/common/utils/request'
import {
	serv
} from '@/common/utils/config'

// 版本记录信息展示
export function showVersionHistory(data) {
	return request(serv.sysrest + `/api/versionHistory/list`, {
		method: `get`,
		data: data
	})
}

// 意见反馈提交内容
export function addFeedBack(data) {
	return request(serv.sysrest + `/api/feedback/add`, {
		method: `post`,
		data: data
	})
}
//查询版本记录详细内容
export function getDetailVersion(data) {
	return request(serv.sysrest + `/api/versionHistory/getVersionDetail`, {
		method: `get`,
		data: data
	})
}

//点击进入版本记录查看
export function checkVersionByVersionId(data) {
	return request(serv.sysrest + `/api/versionHistory/checkVersionByVersionId`, {
		method: `get`,
		data: data
	})
}